package com.demo.core.model;

import java.util.List;

import com.demo.core.model.support.AdjacencyListModel;

/**
 * 自定义表单模型类
 */
public class Form extends AdjacencyListModel implements java.io.Serializable {
	
	/**
	 * 版本序列化ID
	 */
	private static final long serialVersionUID = 2446223714799063304L;
	
	/**
	 * 站点外键ID
	 */
	private Long siteId;
	
	/**
	 * 模板外键ID
	 */
	private Long templateId;
	
	/**
	 * 标题
	 */
	private String title;
	
	/**
	 * 表单行为
	 */
	private String action;
	
	/**
	 * 操作者身份标示SSID
	 */
	private String ownerSsid;
	
	/**
	 * 操作掩码
	 */
	private String mask;
	
	/**
	 * 表单类型
	 */
	private String type;
	
	/**
	 * 国际化CODE
	 */
	private String i18n;
	
	/**
	 * 数据状态
	 */
	private String status;
	
	/**
	 * 是否可用
	 */
	private Boolean enabled;
	
	/**
	 * form自定义表单项
	 */
	private List<FormItem> formItemList;
	
	/**
	 * formSource自定义表单资源列表
	 */
	private List<FormSource> formSourceList;
	
	public Long getSiteId() {
		return siteId;
	}
	public void setSiteId(Long siteId) {
		this.siteId = siteId;
	}
	public Long getTemplateId() {
		return templateId;
	}
	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getAction() {
		return action;
	}
	public void setAction(String action) {
		this.action = action;
	}
	public String getOwnerSsid() {
		return ownerSsid;
	}
	public void setOwnerSsid(String ownerSsid) {
		this.ownerSsid = ownerSsid;
	}
	public String getMask() {
		return mask;
	}
	public void setMask(String mask) {
		this.mask = mask;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public String getI18n() {
		return i18n;
	}
	public void setI18n(String i18n) {
		this.i18n = i18n;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Boolean getEnabled() {
		return enabled;
	}
	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}
	public List<FormItem> getFormItemList() {
		return formItemList;
	}
	public void setFormItemList(List<FormItem> formItemList) {
		this.formItemList = formItemList;
	}
	public List<FormSource> getFormSourceList() {
		return formSourceList;
	}
	public void setFormSourceList(List<FormSource> formSourceList) {
		this.formSourceList = formSourceList;
	}
}